//
//  ViewController.swift
//  MyNoteDemo4
//
//  Created by BZF on 2020/8/23.
//  Copyright © 2020 bzf. All rights reserved.
//

import UIKit
import Alamofire

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
      
        startReqeust()
    }
    
    func startReqeust() {
        
        let params = ["email": "709889312@qq.com", "type": "JSON", "action": "query"]
        
        AF.request(strURL, method: HTTPMethod.get, parameters: params).responseJSON{ response in
            print(response)
        }
    }


}

